Robust Trajectory Optimization Over Uncertain Terrain With Stochastic Complementarity